package com.lianwei.hospital.Service;

import com.lianwei.hospital.module.entity.DepartmentInfo;
import com.lianwei.hospital.module.entity.DoctorInfo;
import com.lianwei.hospital.module.vo.DepartmentVO;
import com.lianwei.hospital.module.vo.DoctorVO;
import com.lianwei.hospital.utils.PageUtil;

import java.util.List;

public interface DepartmentService {
    DepartmentInfo selectByPrimaryKey(Integer id) throws Exception;
    boolean insert(DepartmentInfo departmentInfo) throws Exception;
    List<DepartmentInfo> selectAll() throws Exception;
    boolean deleteByPrimaryKey(Integer id) throws Exception;
    boolean updateByPrimaryKey(DepartmentInfo departmentInfo) throws Exception;
}
